package org.microdream.easy.deploy.service;

import ice.server.comm.BaseServiceImpl;
import ice.server.comm.CommRepository;
import ice.server.comm.CommService;
import org.microdream.easy.deploy.dao.DGroupFunctionRepository;
import org.microdream.easy.deploy.po.DGroupFunction;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DGroupFunctionServiice extends BaseServiceImpl<DGroupFunction, Integer>{

    @Resource
    private DGroupFunctionRepository dGroupFunctionRepository;

    @Override
    public CommRepository<DGroupFunction, Integer> getRepository() {

        return dGroupFunctionRepository;
    }

    @Override
    public Integer getIdenty(DGroupFunction t) {
        return t.getId();
    }
}
